angular.element(document).ready(function() {
	angular.bootstrap(document);
	 function addselect(id,value1,value2) {
           var s= document.getElementById(id);
           for (i = value2; i >= value1; i--) {
			   var newOp = new Option;
               newOp.value = i;
               newOp.text = i;
               s.options.add(newOp);
           }
       };
      
	  //添加select年月日的函数
	if(document.getElementById("select1")&&document.getElementById("select2")){ 
		var nowyear=new Date().getFullYear();
        addselect("select1", nowyear-100, nowyear);
        addselect("select2", 1, 12);
     };
	
	 
});




	